All Questions
Tagged with programming-practicesversion-control
31 questions
-1votes
2answers
193views
Explaining why a code's modifier should also be its committer [closed]
The context of this question is the early stage of introducing a VCS into an academic setting consisting of non-SW-engineers, largely unaware of modern best practices related to coding as a team. At ...
1vote
3answers
246views
What is a good method/practice I can employ to keep identical code snippits in two places in sync? Also, help documenting functionals
If I could get some input on the design of this, I would be grateful as well. Note that I'm programming in python. There's a function F that takes lots of data, runs some analysis on it (taking ...
2votes
1answer
143views
Where to keep Ansible Inventory file
I keep my Ansible based deployment module in the same repository/directory as my application code. I use Mercurial for my VCS. The inventories file is ephemeral as the IP's of the cloud hosts keep on ...
1vote
2answers
108views
SVN / Git How to administer branches
I'm the technical lead for a small company (6 developers). We currently use SVN and we're slowly porting over to Git, after everyone gets their training. Currently our clients are the ones who "pull ...
9votes
7answers
873views
How should "useful throwaway" scripts be handled?
You know how it goes: there is some small repetitive task for which you found a way to quickly automate 95% of the work. You create a script, run it, manually fix the output, and you're done. Of ...
-3votes
1answer
350views
What is structure of versioning process?
How should be represents process of versioning in developer team? Suppose that we have CI system, and we want start versioning our software. If we speak about semver, then major and minor version must ...
-1votes
1answer
232views
AngularJS-style commit type for a version bump
The AngularJS commit message format is a set of rules for how to your commit message should look. It has been adopted by AngularJS and other projects. According to these rules, a commit must be ...
8votes
3answers
1kviews
Is it a good practice to split one commit into two, where one is content change, the other is style(indent) change?
Suppose I am to make a commit that wrapped a section of code inside another thing, so the section came to have 1 more level of indent. In diff it will show delete 100 lines, add 100 lines though all ...
1vote
2answers
1kviews
How do I organizing 2 different projects with shared code
I know there have been same question asked multiple times on the programmers stackexchange. I think my question is more specific and hence decided to start a new question. My current a project which ...
1vote
1answer
367views
Using conditional feature compilation/inclusion for release versioning
I have been playing with the following idea: commonly when different release series (1.0.x, 1.1.x, development code) of a product are maintained in parallel one uses different branches within a ...
1vote
3answers
729views
Is it a newbie mistake to avoid branching? [duplicate]
My team is new to versioning and we're trying to keep things simple, as to not overwhelm ourselves with tools-headaches. Also, our product can't be compiled and run locally, so our work is actually ...
2votes
4answers
3kviews
Proper sequence of actions for merging using SVN?
I'm totally new to CVCS (SVN specifically). I find that most resources focus very strongly on the command-line commands (irrelevant; we use Windows Explorer + TortoiseSVN) and about structure (e.g. ...
2votes
1answer
3kviews
Develop in trunk and then branch off, or in release branch and then merge back? [duplicate]
Say that we've decided on following a "release-based" branching strategy, so we'll have a branch for each release, and we can add maintenance updates as sub-branches from those. Does it matter ...
-2votes
2answers
371views
What to do with a long unfinished project? [closed]
I am a programmer hobbyist (self learnt), and once in a while I like to make games and interactive scripts (nowadays mostly in JavaScript for its ease). Sometimes I start long projects that end up ...
0votes
2answers
98views
Automatically propagating changes
When working on multiple similar projects there are often changes that can't be extracted into a library, but should be applied to most of the projects. I mean changes like a modified directory ...